package com.qqtech.qquan.user.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserBase extends BaseDomain {

	// columns START
	/** 昵称 */
	private java.lang.String nick;
	/** 用户头像 */
	private String logo;
	/** 姓名全拼 */
	private java.lang.String chnSpell;
	/** 社区id，新建用户默认为空 */
	private java.lang.Integer communityId;
	/** 性别：1-男 2-女 */
	private java.lang.Integer sex;
	/** 兴趣爱好，如足球,篮球,羽毛球 中间以逗号隔开 */
	private java.lang.String interests;
	/** 家乡 */
	private java.lang.String hometown;
	/** 美食，如海虾，盆菜 中间以逗号隔开，参考兴趣爱好 */
	private java.lang.String delicacys;
	/** 职业，如老师 */
	private java.lang.String profession;
	/** 毕业学校，例如深圳大学 */
	private java.lang.String graduateSchool;
	/** 娱乐，例如广场舞*/
	private java.lang.String entertainment;
	/** 是否已身份认证YesNoEnum:1-是;2-否 */
	private Integer hasIdentityAuth;

	/** 是否官方用户:1-是 2-否 **/
	private java.lang.Integer isOfficial;
	/** 是否在线客服:1-是 2-否 **/
	private java.lang.Integer isOnlineService;
	
	/** 注册时保存用户客户端设备id，用于限制一个设备只能注册一个号码 */
	private java.lang.String deviceId;

	// columns END
	public UserBase() {
	}

	public UserBase(java.lang.Integer id) {
		this.id = id;
	}

	public void setNick(java.lang.String nick) {
		this.nick = nick;
	}

	public java.lang.String getNick() {
		return this.nick;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public void setChnSpell(java.lang.String chnSpell) {
		this.chnSpell = chnSpell;
	}

	public java.lang.String getChnSpell() {
		return this.chnSpell;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public java.lang.Integer getCommunityId() {
		return this.communityId;
	}

	public java.lang.Integer getSex() {
		return sex;
	}

	public void setSex(java.lang.Integer sex) {
		this.sex = sex;
	}

	public java.lang.String getInterests() {
		return interests;
	}

	public void setInterests(java.lang.String interests) {
		this.interests = interests;
	}
	
	public java.lang.String getHometown() {
		return hometown;
	}

	public void setHometown(java.lang.String hometown) {
		this.hometown = hometown;
	}
	
	public java.lang.String getDelicacys() {
		return delicacys;
	}

	public void setDelicacys(java.lang.String delicacys) {
		this.delicacys = delicacys;
	}
	
	public java.lang.String getProfession() {
		return profession;
	}

	public void setProfession(java.lang.String profession) {
		this.profession = profession;
	}
	
	public java.lang.String getGraduateSchool() {
		return graduateSchool;
	}

	public void setGraduateSchool(java.lang.String graduateSchool) {
		this.graduateSchool = graduateSchool;
	}
	
	public java.lang.String getEntertainment() {
		return entertainment;
	}

	public void setEntertainment(java.lang.String entertainment) {
		this.entertainment = entertainment;
	}

	public Integer getHasIdentityAuth() {
		return hasIdentityAuth;
	}

	public void setHasIdentityAuth(Integer hasIdentityAuth) {
		this.hasIdentityAuth = hasIdentityAuth;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.Integer getIsOfficial() {
		return isOfficial;
	}

	public void setIsOfficial(java.lang.Integer isOfficial) {
		this.isOfficial = isOfficial;
	}

	public java.lang.String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(java.lang.String deviceId) {
		this.deviceId = deviceId;
	}

	public java.lang.Integer getIsOnlineService() {
		return isOnlineService;
	}

	public void setIsOnlineService(java.lang.Integer isOnlineService) {
		this.isOnlineService = isOnlineService;
	}
}
